package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 子商户
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("sub_business")
@ApiModel(value = "SubBusiness对象", description = "子商户")
public class SubBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("商户简称")
    private String anotherName;

    @ApiModelProperty("公司名称或者客户名称，客户类型是小微商户时客户名称需和身份证号码、法人手机号码匹配")
    private String custName;

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("详细地址")
    private String companyAddr;

    @ApiModelProperty("法人姓名（选填）")
    private String legalName;

    @ApiModelProperty("企业法人手机号码")
    private String legalTel;

    @ApiModelProperty("企业法人证件类型，支持类型请参照3.7小节,默认00")
    private String legalCertType;

    @ApiModelProperty("企业法人证件号")
    private String legalCertNo;

    @ApiModelProperty("营业执照，客户类型为个体商户、企业户时为必填")
    private String busLicense;

    @ApiModelProperty("营业执照有效期，客户类型为个体商户、企业商户时为必填，格式为yyyyMMdd 示例值：20181229")
    private String busLicenseExpire;

    @ApiModelProperty("银行帐号")
    private String bankAccountNo;

    @ApiModelProperty("开户人，银行卡账户名，需和法人姓名或客户姓名一致")
    private String bankAccountName;

    @ApiModelProperty("银行账户类型，此处必填corporate :对公账户;personal:对私账户")
    private String bankAccountType;

    @ApiModelProperty("银行卡类型，可填debit、unit、debit借记卡，unit单位结算卡")
    private String bankCardType;

    @ApiModelProperty("开户行名称，为交易能顺利进行，请尽可能填写到街道 示例值：中国银行深圳分行民治支行")
    private String bankName;

    @ApiModelProperty("银行行别 示例值：中国银行")
    private String bankType;

    @ApiModelProperty("开户行所在的省份")
    private String bankProvince;

    @ApiModelProperty("开户行所在城市")
    private String bankCity;

    @ApiModelProperty("开户人证件类型，目前只支持00,00为身份证")
    private String certType;

    @ApiModelProperty("开户人证件号码")
    private String certNo;

    @ApiModelProperty("银行预留手机号")
    private String bankTelephoneNo;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("是否提交到银盛")
    private Integer isSubYse;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getAnotherName() {
        return anotherName;
    }

    public void setAnotherName(String anotherName) {
        this.anotherName = anotherName;
    }
    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public String getCompanyAddr() {
        return companyAddr;
    }

    public void setCompanyAddr(String companyAddr) {
        this.companyAddr = companyAddr;
    }
    public String getLegalName() {
        return legalName;
    }

    public void setLegalName(String legalName) {
        this.legalName = legalName;
    }
    public String getLegalTel() {
        return legalTel;
    }

    public void setLegalTel(String legalTel) {
        this.legalTel = legalTel;
    }
    public String getLegalCertType() {
        return legalCertType;
    }

    public void setLegalCertType(String legalCertType) {
        this.legalCertType = legalCertType;
    }
    public String getLegalCertNo() {
        return legalCertNo;
    }

    public void setLegalCertNo(String legalCertNo) {
        this.legalCertNo = legalCertNo;
    }
    public String getBusLicense() {
        return busLicense;
    }

    public void setBusLicense(String busLicense) {
        this.busLicense = busLicense;
    }
    public String getBusLicenseExpire() {
        return busLicenseExpire;
    }

    public void setBusLicenseExpire(String busLicenseExpire) {
        this.busLicenseExpire = busLicenseExpire;
    }
    public String getBankAccountNo() {
        return bankAccountNo;
    }

    public void setBankAccountNo(String bankAccountNo) {
        this.bankAccountNo = bankAccountNo;
    }
    public String getBankAccountName() {
        return bankAccountName;
    }

    public void setBankAccountName(String bankAccountName) {
        this.bankAccountName = bankAccountName;
    }
    public String getBankAccountType() {
        return bankAccountType;
    }

    public void setBankAccountType(String bankAccountType) {
        this.bankAccountType = bankAccountType;
    }
    public String getBankCardType() {
        return bankCardType;
    }

    public void setBankCardType(String bankCardType) {
        this.bankCardType = bankCardType;
    }
    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }
    public String getBankType() {
        return bankType;
    }

    public void setBankType(String bankType) {
        this.bankType = bankType;
    }
    public String getBankProvince() {
        return bankProvince;
    }

    public void setBankProvince(String bankProvince) {
        this.bankProvince = bankProvince;
    }
    public String getBankCity() {
        return bankCity;
    }

    public void setBankCity(String bankCity) {
        this.bankCity = bankCity;
    }
    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }
    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }
    public String getBankTelephoneNo() {
        return bankTelephoneNo;
    }

    public void setBankTelephoneNo(String bankTelephoneNo) {
        this.bankTelephoneNo = bankTelephoneNo;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getIsSubYse() {
        return isSubYse;
    }

    public void setIsSubYse(Integer isSubYse) {
        this.isSubYse = isSubYse;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "SubBusiness{" +
            "id=" + id +
            ", anotherName=" + anotherName +
            ", custName=" + custName +
            ", province=" + province +
            ", city=" + city +
            ", companyAddr=" + companyAddr +
            ", legalName=" + legalName +
            ", legalTel=" + legalTel +
            ", legalCertType=" + legalCertType +
            ", legalCertNo=" + legalCertNo +
            ", busLicense=" + busLicense +
            ", busLicenseExpire=" + busLicenseExpire +
            ", bankAccountNo=" + bankAccountNo +
            ", bankAccountName=" + bankAccountName +
            ", bankAccountType=" + bankAccountType +
            ", bankCardType=" + bankCardType +
            ", bankName=" + bankName +
            ", bankType=" + bankType +
            ", bankProvince=" + bankProvince +
            ", bankCity=" + bankCity +
            ", certType=" + certType +
            ", certNo=" + certNo +
            ", bankTelephoneNo=" + bankTelephoneNo +
            ", status=" + status +
            ", isSubYse=" + isSubYse +
            ", createdAt=" + createdAt +
        "}";
    }
}
